package cn.lm.activiti.spring;

import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * @author lm_jcf
 * @date 2019/4/5 18:58
 */
public class HelloWorld {

    private String name;

    private String sex;

    public HelloWorld() {
        System.out.println("hello " + name);
    }

    public void hello(){
        System.out.println("hello world I'm " + name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        System.out.println("设置姓名");
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

}
